package org.jeecg.modules.hotel.belongToSkd.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 床位信息
 * @Author: jeecg-boot
 * @Date:   2021-01-20
 * @Version: V1.0
 */
@Data
@TableName("lwgy_base_bed")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_base_bed对象", description="床位信息")
public class LwgyStudentBed implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**房间*/
	@Excel(name = "房间", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "房间")
    private String roomId;
	/**学生*/
	@Excel(name = "学生", width = 15)
    @Dict(dicCode = "id",dicText = "student_name",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "学生")
    private String studentName;
    /**学号*/
    @Excel(name = "学号", width = 15)
    @Dict(dicCode = "id",dicText = "student_number",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "学号")
    private String studentNumber;
    /**校区*/
    @Excel(name = "校区", width = 15)
    @Dict(dicCode = "id",dicText = "student_campus",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "校区")
    private String studentCampus;

    /**院系*/
    @Excel(name = "院系", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "院系")
    private String studentCollege;

    /**年级*/
    @Excel(name = "年级", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "年级")
    private String studentYear;

    /**专业*/
    @Excel(name = "专业", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "专业")
    private String studentMajor;

    /**班级*/
    @Excel(name = "班级", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "班级")
    private String studentClass;

    /**学制*/
    @Excel(name = "学制", width = 15)
    @Dict(dicCode = "student_school_system")
    @ApiModelProperty(value = "学制")
    private String studentSchoolSystem;

    /**学历*/
    @Excel(name = "学历", width = 15)
    @Dict(dicCode = "student_school_system")
    @ApiModelProperty(value = "学历")
    private String studentEducation;

	/**床位名*/
	@Excel(name = "床位名", width = 15)
    @ApiModelProperty(value = "床位名")
    private String name;

	/**床位价格*/
	@Excel(name = "床位价格", width = 15)
    @ApiModelProperty(value = "床位价格")
    private String bedPrice;

	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

}
